//
//  BrandDetail.m
//  一键车讯
//
//  Created by 江玉元 on 14/10/29.
//  Copyright (c) 2014年 lanou.3g.com. All rights reserved.
//

#import "BrandDetail.h"

@implementation BrandDetail
- (void)dealloc
{
    [_brandImage release];
    [_name release];
    [_price release];
    [_carId release];
    [super dealloc];
}

- (id)initWithDictionary:(NSDictionary *)brandDic
{
    self = [super init];
    if (self) {
        self.brandImage = [brandDic objectForKey:@"photo"];
        self.name = [brandDic objectForKey:@"name"];
        self.price = [brandDic objectForKey:@"priceRange"];
        self.carId = [brandDic objectForKey:@"id"];
    }
    return self;
}
@end
